package com.entity;

import java.util.Date;

public class SysMenu {
    private Integer id;//id
    private Integer updateId;//更新人
    private Date createTime;//创建时间
    private Integer level;//级别
    private String icon;//图标
    private Integer sort;//排序
    private Integer type;//类型//select/1,根目录,2,a标签,3,a标签_blank,4,外部url
    private String url;//链接地址
    private String urlkey;//菜单key
    private Date updateTime;//更新时间
    private Integer createId;//创建者
    private String createName;//创建人的姓名
    private Integer parentId;//父id
    private String parentName;//父名称/11111
    private String name;//名称/11111
    private Integer status;//状态//radio/2,隐藏,1,显示

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlkey() {
        return urlkey;
    }

    public void setUrlkey(String urlkey) {
        this.urlkey = urlkey;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SysMenu{" +
                "id=" + id +
                ", updateId=" + updateId +
                ", createTime=" + createTime +
                ", level=" + level +
                ", icon='" + icon + '\'' +
                ", sort=" + sort +
                ", type=" + type +
                ", url='" + url + '\'' +
                ", urlkey='" + urlkey + '\'' +
                ", updateTime=" + updateTime +
                ", createId=" + createId +
                ", createName='" + createName + '\'' +
                ", parentId=" + parentId +
                ", parentName='" + parentName + '\'' +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
